Skip to content

feat: experiment opencode#125

Closed
c100k wants to merge 6 commits intomasterfrom
feat-experiment-opencode
Closed

feat: experiment opencode#125
c100k wants to merge 6 commits intomasterfrom
feat-experiment-opencode

Conversation

@c100k
Copy link
Copy Markdown
Owner

@c100k c100k commented Jan 10, 2026

No description provided.

@c100k c100k changed the title feat experiment opencode feat: experiment opencode Jan 10, 2026
c100k added 5 commits January 10, 2026 13:36
You got some rules wrong. There are no such things as
import { newNodeApp } from 'libmodulor/node';
import { newReactApp } from 'libmodulor/react';
import { newNextjsApp } from 'libmodulor/nextjs';
Plus, util files should be kebab-case, not camelCase.
Let's add a new use case to the Auth app.
We'll add a sign up use case with email and password.
Check the existing SignIn use case to implement it.
You need to persist the use case.
Check examples/apps/Spotify/src/ucds/CreateAlbumServerMain.ts as an example to see how to do so

<interrupt>

Do not change SignUpOPI0. Only return jwt.
Also you need to persist before assigning auth so you can update auth.user.id with the aggregateId
Now remove the usage of the default roles, remove the role input field and set the role to "regular" by default when a user signs up.
Do not use FAKE_USER_REGULAR anymore.
Build a proper UCAuth.
For the organizationId, generate one using CryptoManager.
For the firstname, capitalize the first part of the email address (before arobase)

THIS IS A NIGHTMARE. LOOKS LIKE SOMEONE WHO LIED ON THEIR RESUME, TRYING TO SOLVE A SIMPLE PROBLEM DURING AN INTERVIEW.
@c100k c100k closed this Jan 10, 2026
@c100k c100k deleted the feat-experiment-opencode branch January 10, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant